package com.thinkgem.jeesite.modules.KDniao.entity.KDniaorequestMe;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 推送物流单号轨迹集合  R
 * @author acer
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class RequestDate {
    @JsonProperty("EBusinessID")
    private String ebusinessID;//商户ID  

    @JsonProperty("OrderCode")
    private String orderCode;//订单编号 

    @JsonProperty("ShipperCode")
    private String shipperCode;// 快递公司编码  R

    @JsonProperty("LogisticCode")
    private String logisticCode;//快递单号    R

    @JsonProperty("Success")
    private boolean success;//成功与否：true,false R

    @JsonProperty("Reason")
    private String reason;//失败原因

    @JsonProperty("State")
    private String state;// 物流状态: 0-无轨迹，1-已揽收，2-在途中 201-到达派件城市，3-签收,4-问题件   R

    @JsonProperty("CallBack")
    private String callBack;//  订阅接口的Bk值    O

    @JsonProperty("Traces")
    private List<RequestTraces> traces;//消息快件到达地址消息

    @JsonProperty("EstimatedDeliveryTime")
    private String estimatedDeliveryTime;//预计到达时间
    
    @JsonProperty("PickerInfo")
    private RequestPickerInfo pickerInfo;

    @JsonProperty("SenderInfo")
    private RequestSenderInfo senderInfo;

    public String getEbusinessID() {
        return ebusinessID;
    }

    public void setEbusinessID(String ebusinessID) {
        this.ebusinessID = ebusinessID;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getShipperCode() {
        return shipperCode;
    }

    public void setShipperCode(String shipperCode) {
        this.shipperCode = shipperCode;
    }

    public String getLogisticCode() {
        return logisticCode;
    }

    public void setLogisticCode(String logisticCode) {
        this.logisticCode = logisticCode;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = LogisticsStateentity.getState(state);
    }

    public String getCallBack() {
        return callBack;
    }

    public void setCallBack(String callBack) {
        this.callBack = callBack;
    }

    public List<RequestTraces> getTraces() {
        return traces;
    }

    public void setTraces(List<RequestTraces> traces) {
        this.traces = traces;
    }

    public String getEstimatedDeliveryTime() {
        return estimatedDeliveryTime;
    }

    public void setEstimatedDeliveryTime(String estimatedDeliveryTime) {
        this.estimatedDeliveryTime = estimatedDeliveryTime;
    }

    public RequestPickerInfo getPickerInfo() {
        return pickerInfo;
    }

    public void setPickerInfo(RequestPickerInfo pickerInfo) {
        this.pickerInfo = pickerInfo;
    }

    public RequestSenderInfo getSenderInfo() {
        return senderInfo;
    }

    public void setSenderInfo(RequestSenderInfo senderInfo) {
        this.senderInfo = senderInfo;
    }


}
